import {createRouter,createWebHashHistory} from 'vue-router'
import User from "../components/User.vue"

const router  = createRouter({

    //历史记录
    history: createWebHashHistory(),

    //定义路由的组件信息
    routes: [
        {path: "/" , component: User}
    ]
})

export default router